package com.hq.service;

import com.hq.dao.HouseDAO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class HouseServiceImpl implements  HouseService {

    @Resource
    private HouseDAO houseDAO;

    @Override
    public List<Map<String, Object>> list(Map map) {
        return houseDAO.list(map);
    }

    @Override
    public int del(Integer id) {
        return houseDAO.del(id);
    }

    @Override
    public int cz(Integer id) {
        return houseDAO.cz(id);
    }
}
